Global Edition ASIA 中文 双语 Français
World
Home / World / Americas

蜘蛛池搭建营销

蜘蛛池企业信息 | Updated: 2025-05-18 21:35:11
Share
Share - WeChat
蜘蛛池:SEO营销的高效引擎</h> <h1>蜘蛛池:解锁搜索引擎流量的秘密武器</h1> </head> <body> <h2>一、什么是蜘蛛池</h2> <p>在SEO的世界里,蜘蛛池,也被称为模拟爬虫或分布式爬虫,是一种特殊的技术工具,它模拟真实搜索引擎的爬虫行为,帮助网站快速、全面地收集和更新信息。简单来说,它就是一个虚拟的网络爬虫网络,通过集中管理,批量处理,大大提高了SEO优化的效率。</p> <h2>二、蜘蛛池的原理与用途</h2> <h3>1. 提高抓取频率</h3> <p>常规的搜索引擎可能一次只抓取部分页面,而蜘蛛池可以同时模拟多个爬虫,对网站进行周期性或随机的抓取,显著提高了信息更新的频率,让搜索引擎更快地发现和索引新内容。</p> <h3>2. 数据全面性保障</h3> <p>通过模拟不同用户和设备,蜘蛛池可以覆盖网站的各个角落,确保搜索引擎不会遗漏任何有价值的信息,这对于SEO优化至关重要,尤其是对于新站或内容更新频繁的站点。</p> <h3>3. 优化SEO策略</h4> <p>通过蜘蛛池,SEO人员可以更精确地分析和调整策略,比如测试不同的URL结构、元标签优化,甚至可以模拟搜索引擎的算法更新,提前预判和适应变化。</p> <h2>三、搭建与使用蜘蛛池的步骤</h2> <p>搭建蜘蛛池并非难事,主要步骤包括选择合适的爬虫框架、配置爬虫规则、搭建服务器环境和监控系统。首先,选择一个开源的爬虫框架,如Scrapy或Crawly,然后根据网站结构定制爬虫任务。接着,设置合理的抓取频率和范围,确保数据的全面性和时效性。最后,通过日志分析和监控工具,持续优化爬虫策略。</p> <h2>结尾</h2> <p>蜘蛛池作为SEO营销的有力工具,不仅提升了网站的搜索引擎可见性,还为SEO策略的制定和执行提供了强大的支持。然而,值得注意的是,蜘蛛池并非万能,合理使用并结合其他SEO优化手段,才能真正实现网站流量的持续增长。在享受蜘蛛池带来的便利的同时,别忘了SEO的基石——优质内容和用户体验,这是任何蜘蛛池都无法替代的。</p> </body> </html> </div> <div class="8537-0166-4920-8150 selectpage"> <!--移动分页--> </div> <div class="8537-0166-4920-8150 mb30" style="overflow:auto;clear:both;"> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / B1 Begin --> <!-- <script type="text/javascript" src="http://qy65497.gpt8.net//style/js/9b30a6f9183c4746aad29df1cc5e111e.js" charset="gbk" ></script> --> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / B1 End --> </div> <!-- <div id="taboola-below-article-thumbnails"></div> --> <script type="text/javascript"> /* window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-a', container: 'taboola-below-article-thumbnails', placement: 'Below Article Thumbnails', target_type: 'mix' }); */ </script> <!-- <div id="taboola-below-article-thumbnails-2nd"></div> --> <script type="text/javascript"> /* window._taboola = window._taboola || []; _taboola.push({ mode: 'organic-thumbnails-a', container: 'taboola-below-article-thumbnails-2nd', placement: 'Below Article Thumbnails 2nd', target_type: 'mix' }); */ </script> <!-- <th:block th:include="@{|/|}+'common/2017en' :: comments"/> --> <div class="8537-0166-4920-8150 mb20 r-phototitle"> <div class="8537-0166-4920-8150 bt2" style="margin-bottom:15px;"> <b> <a target="_top" shape="rect" href="/{随机目录}/wj7p84iuqc0bad.html">Photos</a> </b> </div> <div class="8537-0166-4920-8150 photo_art"> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/e4rg6cu3z17pbt-129.html"> <img width="227" height="158" src="https://image11.m1905.cn/mdb/uploadfile/2020/0325/thumb_1_128_176_20200325092110749397.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/wdfc2rtqhgbi4y.html">食物链蜘蛛池什么</a> </div> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/lh9xo4a23idqg5-628.html"> <img width="227" height="158" src="https://image11.m1905.cn/mdb/uploadfile/2020/0630/thumb_1_128_176_20200630023516642428.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/l40frk5qoayzm2-950.html">克隆侠蜘蛛池源码</a> </div> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/r7q9p5xl8yecms.html"> <img width="227" height="158" src="https://image11.m1905.cn/uploadfile/2011/0223/thumb_1_128_176_20110223040903976.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/djlrv5h29ye4w1-332.html">索马里蜘蛛池外推</a> </div> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/brtsmyfu3l1p82-118.html"> <img width="227" height="158" src="https://image11.m1905.cn/mdb/uploadfile/2022/0328/thumb_1_128_176_20220328031747485358.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/50wgusokv23lxd-732.html">新网站用蜘蛛池</a> </div> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/ce92f4xunwgrz1.html"> <img width="227" height="158" src="https://image11.m1905.cn/uploadfile/2013/0311/thumb_1_128_176_20130311043847889.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/6f83n4lwkajerq.html">小旋风蜘蛛池搭建程序是什么</a> </div> <div class="8537-0166-4920-8150 p_art"> <span> <a shape="rect" href="/{随机目录}/4xvkbwaijp1e0l-633.html"> <img width="227" height="158" src="https://image11.m1905.cn/mdb/uploadfile/2021/1111/thumb_1_128_176_20211111095416917849.jpg" /> </a> </span> <a class="8537-0166-4920-8150 t_art" shape="rect" href="/{随机目录}/bdzrki7lq68ay3-812.html">小旋风蜘蛛池效果怎么样啊</a> </div> </div> </div> </div> <div class="8537-0166-4920-8150 mai_r"> <div class="8537-0166-4920-8150 mb20"> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / C1 Begin --> <!-- <script type="text/javascript" src="http://qy65497.gpt8.net//style/js/e645853b55974d018dc5b4a32f90c880.js" charset="gbk" ></script> --> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / C1 End --> </div> <div class="8537-0166-4920-8150 bt2" style="margin-bottom:5px;"> <b>Most Viewed in 24 Hours</b> </div> <script src="http://qy65497.gpt8.net//style/js/59b8d00fa3108c54ed7dfc04.js" xml:space="preserve"></script> <script xml:space="preserve"> //<![CDATA[ var num; document.write('<ul class=\"lisBox\">'); for(var i=0;i<5;i++){ num=i+1; document.write('<li><a href="/{随机目录}/ets89q7z6gn5dy-168.html" target="_blank">'+cd_json[i].title+'</a></li>'); } document.write('</ul>'); //]]> </script> <div style="clear:both"> </div> <!--world in focus 59b8d011a3108c54ed7dfc5a--> <div class="8537-0166-4920-8150 bt2"> <b> <a target="_top" shape="rect" href="/{随机目录}/emc7l2ks95tyaz-744.html">怎么创建蜘蛛池教程图片</a> </b> </div> <div class="8537-0166-4920-8150 tw8"> <span> <a target="_blank" shape="rect" href="/{随机目录}/suo3k2w4dcp5qn-277.html"> <img width="290" height="187" src="https://image11.m1905.cn/mdb/uploadfile/2020/0723/thumb_1_128_176_20200723100353634942.jpg" /> </a> </span> <span class="8537-0166-4920-8150 tw8_t"> <a shape="rect" href="/{随机目录}/grq6wm043bn7oa.html">蜘蛛池秒收录教程</a> </span> </div> <!--Across Asia 665f2edfa31082fc043caded--> <div class="8537-0166-4920-8150 bt2"> <b> <a target="_top" shape="rect" href="/{随机目录}/qjzd2l9t5uihkn.html">Across Asia</a> <span> <a shape="rect" href="/{随机目录}/dqe0nxswyi5ugv.html">+</a> </span> </b> </div> <div class="8537-0166-4920-8150 tw4Box"> <div class="8537-0166-4920-8150 tw4"> <div class="8537-0166-4920-8150 tw4_p"> <a target="_blank" shape="rect" href="/{随机目录}/xkmvgjnh0aq216-460.html"> <img width="140" height="90" src="https://image11.m1905.cn/uploadfile/2010/0325/thumb_1_128_176_20100325031928954.jpg" /> </a> </div> <div class="8537-0166-4920-8150 tw4_t"> <a target="_blank" shape="rect" href="/{随机目录}/ylo6v8caibg3f7-633.html">蜘蛛池的昆虫</a> </div> </div> <div class="8537-0166-4920-8150 tw4"> <div class="8537-0166-4920-8150 tw4_p"> <a target="_blank" shape="rect" href="/{随机目录}/3zq9gnth7sfor0-535.html"> <img width="140" height="90" src="https://image11.m1905.cn/mdb/uploadfile/2019/0521/thumb_1_128_176_20190521102228576800.jpg" /> </a> </div> <div class="8537-0166-4920-8150 tw4_t"> <a target="_blank" shape="rect" href="/{随机目录}/r6u4ethil5qczy-570.html">蜘蛛池网站做排名</a> </div> </div> </div> <div style="clear:both"> </div> <div class="8537-0166-4920-8150 mb20"> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / E1 Begin --> <!-- <script type="text/javascript" src="http://qy65497.gpt8.net//style/js/59591141f75e4d4985cc2d7325b27d18.js" charset="gbk" ></script> --> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / E1 End --> </div> <!--Special--> <div class="8537-0166-4920-8150 bt2"> <b> <a target="_top" shape="rect" href="/{随机目录}/k0ilf5zuwv8h6e.html">Special Coverage</a> <span> <a shape="rect" href="/{随机目录}/4en6zlmiy0g9j3.html">+</a> </span> </b> </div> <div class="8537-0166-4920-8150 tw4Box"> <div class="8537-0166-4920-8150 tw4"> <div class="8537-0166-4920-8150 tw4_p"> <a target="_blank" shape="rect" href="/{随机目录}/4y1ezxcpujbktn.html"> <img width="140" height="90" src="https://image11.m1905.cn/mdb/uploadfile/2019/1018/thumb_1_128_176_20191018103712485832.jpg" /> </a> </div> <div class="8537-0166-4920-8150 tw4_t"> <a target="_blank" shape="rect" href="/{随机目录}/fyr120baunckiq.html">蜘蛛池搭建方法图解视频</a> </div> </div> <div class="8537-0166-4920-8150 tw4"> <div class="8537-0166-4920-8150 tw4_p"> <a target="_blank" shape="rect" href="/{随机目录}/8p1jdu9lbr65vo.html"> <img width="140" height="90" src="https://image11.m1905.cn/mdb/uploadfile/2020/0324/thumb_1_128_176_20200324035335516849.jpg" /> </a> </div> <div class="8537-0166-4920-8150 tw4_t"> <a target="_blank" shape="rect" href="/{随机目录}/9fzj30lcmeb2uq.html">什么域名适合做蜘蛛池</a> </div> </div> </div> <!-- <th:block th:include="@{/}+'common/2017en' :: taboolaRight"></th:block> --> <div class="8537-0166-4920-8150 mb20"> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / C2 Begin --> <!-- <script type="text/javascript" src="http://qy65497.gpt8.net//style/js/6836939106ca42d5962c41144d889c06.js" charset="gbk" ></script> --> <!-- AdSame ShowCode: 新版英文2013.10.17 / 新英文内容页-18/2/6 / C2 End --> </div> <div style="clear:both"> </div> <div class="8537-0166-4920-8150 mb20"> <div class="8537-0166-4920-8150 tw6Box_2" style="margin-right:10px;"> <!-- Friends Afar friendsafar 普通 66a6f669a31095c51c51072a--> <div class="8537-0166-4920-8150 bt2"> <b> <a target="_top" shape="rect" href="/{随机目录}/sdjx589k24h10w-714.html">Friends Afar</a> <span> <a shape="rect" href="/{随机目录}/04f2ez8vt31nc7-821.html">+</a> </span> </b> </div> <div class="8537-0166-4920-8150 tw6_2"> <span class="8537-0166-4920-8150 tw6_p2"> <a target="_blank" shape="rect" href="/{随机目录}/aeqdjkh2sbvzim.html"> <img width="140" height="90" src="https://image11.m1905.cn/mdb/uploadfile/2021/0511/thumb_1_128_176_20210511033515559183.jpg" /> </a> </span> <span class="8537-0166-4920-8150 tw6_t2"> <a target="_blank" shape="rect" href="/{随机目录}/0goruxflc73n2i-857.html">久盟网蜘蛛池</a> </span> </div> </div> <div class="8537-0166-4920-8150 tw6Box_2"> <!-- Ties That Bind tiesthatbind 普通 66a6f669a31095c51c51072e--> <div class="8537-0166-4920-8150 bt2"> <b> <a target="_top" shape="rect" href="/{随机目录}/0z2r6jvdxl41bs.html">Ties That Bind</a> <span> <a shape="rect" href="/{随机目录}/w4nfqzveca6ybh.html">+</a> </span> </b> </div> <div class="8537-0166-4920-8150 tw6_2"> <span class="8537-0166-4920-8150 tw6_p2"> <a target="_blank" shape="rect" href="/{随机目录}/xe4qid1s96w3fy-888.html"> <img width="140" height="90" src="https://image11.m1905.cn/uploadfile/2012/1024/thumb_1_128_176_20121024045836527.jpg" /> </a> </span> <span class="8537-0166-4920-8150 tw6_t2"> <a target="_blank" shape="rect" href="/{随机目录}/i7sabgdrqv0pfl-801.html">老农蜘蛛池使用教程</a> </span> </div> </div> </div> </div> </div> <script type="text/javascript" xml:space="preserve"> //<![CDATA[ jq(document).ready(function () { function is_weixin(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return false; } } var url =location.href; if(is_weixin()){ jq.post('/{随机目录}/qoy9a84heibprc.html', {url:url}, function(data){ wx.config({ debug: false, appId: data.appid, timestamp: data.timestamp, nonceStr: data.noncestr, signature: data.sign, jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage'] }), wx.ready(function(){ wx.onMenuShareTimeline({ title: '蜘蛛池企业信息-蜘蛛池企业信息-_哔哩哔哩_bilibili', link: url, imgUrl: 'https://image11.m1905.cn/mdb/uploadfile/2022/0513/thumb_1_128_176_20220513023606329791.jpg' }); var data = { title: '蜘蛛池企业信息官网版下载N.7.60.24', desc: '', link: url, imgUrl: 'https://image11.m1905.cn/uploadfile/2014/0730/thumb_1_128_176_20140730042541578448.jpg' }; wx.onMenuShareAppMessage(data); }), wx.error(function(res){ console.log("微信验证失败!"); }) }); } }); //]]> </script> <link rel="stylesheet" type="text/css" href="http://qy65497.gpt8.net//style/css/public_eu.css" /> <!-- 响应式回顶部 --> <div data-am-widget="gotop" class="8537-0166-4920-8150 am-gotop am-gotop-fixed WIDGET-58db5c3d3f6a4d70c2315464 gotop am-no-layout am-active res-m"> <span class="8537-0166-4920-8150 am-gotop-title">Top</span> <i class="8537-0166-4920-8150 am-gotop-icon am-icon-arrow-up gotop"></i> </div> <!-- 响应式回顶部结束 --> <!--pc回顶部--> <div class="8537-0166-4920-8150 hui-dingbu"> <div class="8537-0166-4920-8150 ding-nei"> <a href="/{随机目录}/odswxp3ferkcyb.html">BACK TO THE TOP</a> </div> </div> <!--show mobile手机显示pc页面返回mobile部分--> <div class="8537-0166-4920-8150 mobileView" id="mobileView"> <div class="8537-0166-4920-8150 mobileView-language"> <div class="8537-0166-4920-8150 mobileView-button mvl-english"> English </div> <div class="8537-0166-4920-8150 mobileView-button mvl-chinese"> <a href="/{随机目录}/bho7wgena2mkrp-515.html" target="_blank">中文</a> </div> </div> <div class="8537-0166-4920-8150 mobileView-button mobileView-phone" onclick="transView()"> <img src="http://qy65497.gpt8.net//style/images/1/showmobilee.png" /> </div> </div> <!--show mobile手机显示pc页面返回mobile部分- end --> <!--底部--> <div class="8537-0166-4920-8150 dibu-one"></div> <!--底部2--> <div class="8537-0166-4920-8150 topNav_art2"> <ul class="8537-0166-4920-8150 dropdown" style="width:1010px; margin:0 auto;"> <li style="width: 55px;"> <a href="/{随机目录}/ps1haf8vr3j9x5-460.html" target="_blank">HOME</a> </li> <li style=" width:55px;"> <a href="/{随机目录}/d6vsg8up5jcbea-666.html" target="_blank">CHINA</a> </li> <li style=" width:65px;"> <a href="/{随机目录}/2pzvkq5loienwb-178.html" target="_blank">WORLD</a> </li> <li style=" width:75px;"> <a href="/{随机目录}/54xdi86uybojrh.html" target="_blank">BUSINESS</a> </li> <li style=" width:75px;"> <a href="/{随机目录}/wa9orfiq3025l7-613.html" target="_blank">LIFESTYLE</a> </li> <li style=" width:70px;"> <a href="/{随机目录}/3c86dyhpn7bk1m-393.html" target="_blank">CULTURE</a> </li> <li style=" width:70px;"> <a href="/{随机目录}/n4d3cgjxykvz6i-170.html" target="_blank">TRAVEL</a> </li> <li style=" width:75px;"> <a href="/{随机目录}/zgud2wxb9s1oqy.html" target="_blank">VIDEO</a> </li> <li style=" width:65px;"> <a href="/{随机目录}/246l8dunhyaiof.html" target="_blank">SPORTS</a> </li> <li style=" width:70px;"> <a href="/{随机目录}/3ahxiwjzngysbe.html" target="_blank">OPINION</a> </li> <li style=" width:70px;"> <a href="/{随机目录}/h4f8iqn9pkltou.html" target="_blank">REGIONAL</a> </li> <li style=" width:68px;"> <a href="/{随机目录}/isxoelc4yjg3ba.html" target="_blank">FORUM</a> </li> <li class="8537-0166-4920-8150 newspaper"> <a href="/{随机目录}/1eh8dpsi60l235-288.html">NEWSPAPER</a> <ul class="8537-0166-4920-8150 sub_menu"> <li> <a href="/{随机目录}/i6ya5rne8k3g0h-811.html" target="_blank" style="width:110px;">China Daily PDF</a> </li> <li> <a href="/{随机目录}/a6nodscqx32zwp-361.html" target="_blank" style="width:130px;">China Daily E-paper</a> </li> </ul> </li> <li> <a href="/{随机目录}/bpzrmxfia93enl.html" target="_blank">MOBILE</a> </li> </ul> </div> <!--底部3--> <div class="8537-0166-4920-8150 dibu-three"> <div class="8537-0166-4920-8150 dibu-three-nei"> <div class="8537-0166-4920-8150 three-left"> <div class="8537-0166-4920-8150 lo-g"> <a target="_blank" href="http://qy65497.gpt8.net/"> <img src="http://qy65497.gpt8.net//style/images/1/a-1.jpg" /> </a> </div> <div class="8537-0166-4920-8150 lo-a">Copyright 1995 - <script> //<![CDATA[ var oTime = new Date(); document.write(oTime.getFullYear()); //]]> </script>. All rights reserved. The content (including but not limited to text, photo, multimedia information, etc) published in this site belongs to China Daily Information Co (CDIC). Without written authorization from CDIC, such content shall not be republished or used in any form. Note: Browsers with 1024*768 or higher resolution are suggested for this site.</div> <div class="8537-0166-4920-8150 lo-c"> <span style="display:none;">License for publishing multimedia online <b> <a href="/{随机目录}/ky1ti5melojvqg.html" target="_blank">0108263</a> </b> </span> <br /> <br /> Registration Number: 130349 <img src="http://qy65497.gpt8.net//style/images/1/a-2.jpg" /> </div> </div> <div class="8537-0166-4920-8150 three-midd"> <div class="8537-0166-4920-8150 midd-a"> <a href="/{随机目录}/udfta6kzq28pnv.html" target="_blank">About China Daily</a> </div> <div class="8537-0166-4920-8150 midd-a"> <a href="/{随机目录}/foi2psyq6awnch-611.html" target="_blank">Advertise on Site</a> </div> <div class="8537-0166-4920-8150 midd-a"> <a href="/{随机目录}/f97bsyko83iq5w.html" target="_blank">Contact Us</a> </div> <div class="8537-0166-4920-8150 midd-a"> <a href="/{随机目录}/odjtfnpews2a19-628.html" target="_blank">Job Offer</a> </div> <div class="8537-0166-4920-8150 midd-a"> <a href="/{随机目录}/o43t58z21ngjlp-114.html" target="_blank">Expat Employment</a> </div> </div> <div class="8537-0166-4920-8150 three-right"> <div class="8537-0166-4920-8150 right-a">FOLLOW US</div> <div class="8537-0166-4920-8150 right-b"> <span> <a href="/{随机目录}/8rvqgu9xnh63me.html" target="_blank"> <img src="http://qy65497.gpt8.net//style/images/1/a-3.jpg" border="0" /> </a> </span> <span> <a href="/{随机目录}/2tg1vkwlbz6y4f.html" target="_blank"> <img src="http://qy65497.gpt8.net//style/images/1/a-5.jpg" border="0" /> </a> </span> </div> </div> </div> </div> <!-- 响应式foot --> <footer class="8537-0166-4920-8150 mobile-foot"> <div class="8537-0166-4920-8150 mobile-miscs res-m"> <div class="8537-0166-4920-8150 showDesktop"> <span class="8537-0166-4920-8150 showDesktop-English"> <img src="http://qy65497.gpt8.net//style/images/1/menglish.png" /> </span> <span class="8537-0166-4920-8150 showDesktop-Chinese"> <a href="/{随机目录}/v98ah1jet4mugn-277.html"> <img src="http://qy65497.gpt8.net//style/images/1/mchinese.png" /> </a> </span> <span class="8537-0166-4920-8150 showDesktop-Desktop" id="showpc" onclick="transView()"> <img src="http://qy65497.gpt8.net//style/images/1/showdesktop.png" /> </span> </div> <p class="8537-0166-4920-8150 footer-p"> Copyright 1995 - <script> //<![CDATA[ var oTime = new Date(); document.write(oTime.getFullYear());//]]> </script>. All rights reserved. The content (including but not limited to text, photo, multimedia information, etc) published in this site belongs to China Daily Information Co (CDIC). Without written authorization from CDIC, such content shall not be republished or used in any form. </p> </div> </footer> <!-- 响应式foot 结束--> <script type="text/javascript"> //<![CDATA[ var toggleBtn = document.getElementById('showpc'); var vp = document.querySelector('meta[name=viewport]'); var vpHtml = document.getElementById('showpc'); vpHtml.style.display = 'display'; var flag = 0; function transView(){ var x = (flag) ? 'initial-scale=1' : 'width=1200'; var relax = (flag) ? 'none' : 'block'; vp.setAttribute('content', x); document.getElementById("mobileView").style.display=relax; flag^=1; }; /*toggleBtn.addEventListener('click',transView())*/ //]]> </script> <script type="text/javascript"> /* window._taboola = window._taboola || []; _taboola.push({flush: true}); */ </script> </body> </html>